package org.lwd.datalink.domain.enent;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.lwd.datalink.domain.media.parameter.hbase.HBaseMediaSrcParameter;
import org.lwd.datalink.domain.media.parameter.zk.ZkMediaSrcParameter;
import org.lwd.datalink.event.CallbackEvent;
import org.lwd.datalink.utils.FutureCallback;

/**
 * @Author: weidong.lin
 * @Description: 获取hbase的集群状态信息事件
 * @Date: create in 2024/3/7 11:16
 */
@ToString
@Getter
@Setter
public class HBaseStatusEvent extends CallbackEvent {
    private HBaseMediaSrcParameter hbaseParameter;

    private ZkMediaSrcParameter zkParameter;

    public HBaseStatusEvent(FutureCallback event, HBaseMediaSrcParameter hbaseParameter, ZkMediaSrcParameter zkParameter) {
        super(event);
        this.hbaseParameter = hbaseParameter;
        this.zkParameter = zkParameter;
    }
}
